package com.aaa.ps.service;

import com.aaa.common.entity.Role;

/**
 * fileName:RoleService
 * description:
 * author:zz
 * createTime:2020/8/28 16:28
 * version:1.0.0
 */
public interface RoleService {

    int deleteByPrimaryKey(Integer roleId);

    int insertSelective(Role record);

    Role selectByPrimaryKey(Integer roleId);

    int updateByPrimaryKeySelective(Role record);

    /**
     * 批量添加角色和权限关联表
     * @param roleId
     * @param menuIds
     * @return
     */
    int batchInsertRoleMenu(int roleId, String menuIds);
}
